package com.tjetc.service;

import com.tjetc.domain.Profit;

import java.util.List;

public interface ProfitService {
    List<Profit> list();

    List<Profit> listbydate(String startDate, String endDate);

    Profit findByDate(String date);

    boolean addProfit(Profit profit);

    boolean updateProfit(Profit profit);
}
